

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>面试结果登记</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
</head>
<body>

<form id="myform" class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
<!--    第一行-->
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">简历状态</label>
            <div class="layui-input-inline">
                <select name="recommend_the_interview" lay-verify="required" lay-search="">
                    <option value="">直接选择或搜索选择</option>
                    <option value="否">否</option>
                    <option value="推荐面试">推荐面试</option>
                    <option value="推荐二面">推荐二面</option>
                    <option value="推荐三面">推荐三面</option>
                </select>
            </div>
        </div>
    </div>
<!--    第二行-->
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">一面面试人</label>
            <div class="layui-input-inline">
                <input type="text" name="first_interviewer" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">面试时间</label>
            <div class="layui-input-inline">
                <input type="text" name="first_time" id="first_time" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">一面面试评价</label>
            <div class="layui-input-block">
                <textarea name="first_evaluation" id="first_evaluation" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>

    </div>
    <!--第三行元素-->
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">二面面试人</label>
            <div class="layui-input-inline">
                <input type="text" name="second_interviewer" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">面试时间</label>
            <div class="layui-input-inline">
                <input type="text" name="second_time" id="second_time" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">二面面试评价</label>
            <div class="layui-input-block">
                <textarea name="second_evaluation" id="second_evaluation" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>

    </div>
<!--    第四行-->
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">三面面试人</label>
            <div class="layui-input-inline">
                <input type="text" name="third_interviewer" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">面试时间</label>
            <div class="layui-input-inline">
                <input type="text" name="third_time" id="third_time" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">三面面试评价</label>
            <div class="layui-input-block">
                <textarea name="third_evaluation" id="third_evaluation" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>

    </div>
<!--    第五行-->
    <!--隐藏resume_ID-->
    <input type="text" hidden name="resume_id" >
    <input type="text" hidden name="interview_result_id" >


    <!--确认提交-->
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-back-submit" value="确认">
    </div>

</form>



<!--引入本地layui.js-->
<script src="../../static/layui/layui.js"></script>
<!--js-->
<script type="text/javascript">
    layui.config({
        base: '../../static/layui/layuiadmin/' //静态资源所在路径js
    }).extend({
        index: 'lib/index' //主入口模块
    }).use('index');
</script>
<script>
    layui.use('laydate', function() {
        var laydate = layui.laydate;
        //常规用法
        laydate.render({
            elem: '#first_time'
        });

    });
    layui.use('laydate', function() {
        var laydate = layui.laydate;
        //常规用法
        laydate.render({
            elem: '#second_time'
        });

    });
    layui.use('laydate', function() {
        var laydate = layui.laydate;
        //常规用法
        laydate.render({
            elem: '#third_time'
        });

    });

</script>

<!-- 注意：如果你直接复制所有代码到本地，上述 JS 路径需要改成你本地的 -->
<script>
    layui.use(['form', 'layedit', 'laydate','upload','layer'], function(){
        var form = layui.form
            ,layer = layui.layer
            ,layedit = layui.layedit
            ,laydate = layui.laydate
            ,upload = layui.upload
            ,layer = layui.layer
            ,$ = layui.jquery;

        //自定义验证规则
        form.verify({
            title: function(value){
                if(value.length < 5){
                    return '标题至少得5个字符啊';
                }
            }
            ,pass: [
                /^[\S]{6,12}$/
                ,'密码必须6到12位，且不能出现空格'
            ]
            ,content: function(value){
                layedit.sync(editIndex);
            }
        });




    });



</script>


</body>
</html>


</body>
</html>